Bläddra i källkod

Normal font weight makes is more clear in light mode.

Jon Mårtensson 3 år sedan
förälder
incheckning
2e3d535fe5
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      FreeAPS/Sources/Modules/AddCarbs/View/AddCarbsRootView.swift

+ 2 - 2
FreeAPS/Sources/Modules/AddCarbs/View/AddCarbsRootView.swift

@@ -117,7 +117,7 @@ extension AddCarbs {
 
 
         @ViewBuilder private func proteinAndFat() -> some View {
         @ViewBuilder private func proteinAndFat() -> some View {
             HStack {
             HStack {
-                Text("Protein").foregroundColor(.red).fontWeight(.thin)
+                Text("Protein").foregroundColor(.red) // .fontWeight(.thin)
                 Spacer()
                 Spacer()
                 DecimalTextField(
                 DecimalTextField(
                     "0",
                     "0",
@@ -130,7 +130,7 @@ extension AddCarbs {
                 Text("grams").foregroundColor(.secondary)
                 Text("grams").foregroundColor(.secondary)
             }
             }
             HStack {
             HStack {
-                Text("Fat").foregroundColor(.orange).fontWeight(.thin)
+                Text("Fat").foregroundColor(.orange) // .fontWeight(.thin)
                 Spacer()
                 Spacer()
                 DecimalTextField(
                 DecimalTextField(
                     "0",
                     "0",